
function createProHtml(p, i) {
	var html = '';
	var hangClass = 'ul-header bg-white';
	if (i % 2 != 0) {
		hangClass = 'ul-header bg-second';
	}
	 var code =p.CODE;
	    if(code==""||code ==null){
	    	code="-";
	    }
	// 编号
	var elbowId = p.ELBOWID;
	if (elbowId == "" || elbowId == null) {
		elbowId = "-";
	}

	// 管线名称
	var lineName = p.LINENAME;

	if ("" == lineName || null == lineName) {
		lineName = "-";
	}

	// 管段名称
	var segmentName = p.SEGMENTNAME;
	if ("" == segmentName || null == segmentName) {
		segmentName = "-";
	}

	// 绝对里程
	var mileage =""+ p.MILEAGE;

	if ("" == mileage || null == mileage||"undefined"==mileage) {
		mileage = "-";
	}

	// 弯头编号
	var elbowNum = p.ELBOWNUM;
	if ("" == elbowNum || null == elbowNum) {
		elbowNum = "-"
	}

	// 弯头角度
	var elbowAngle = p.ELBOWANGLE;

	if ("" == elbowAngle || null == elbowAngle) {
		elbowAngle = "-";
	}

	// 来源
	var source = p.SOURCE;
	if ("" == source || null == source) {
		source = "-";
	}

	var gisId = p.GIS_ID
	if ("" == gisId || null == gisId) {
		gisId = "";
	}

	var hhtml = "";

	var tableName = "";

	if (source == 0) {
		hhtml = '<div class=\"show-ul none\">' + ' <ul class=\"show-list\">'
				+'<li> <span class=\"s1\">统一编号:</span><span class=\"s2\">'+code+'</span></li>'
				+ '<li> <span class=\"s1\">管道名称:</span><span class=\"s2\">'
				+ lineName
				+ '</span></li>'
				+ '<li> <span class=\"s1\">管段名称:</span> <span class=\"s2\">'
				+ segmentName
				+ '</span></li>'
				+ '<li> <span class=\"s1\">弯头编号:</span> <span class=\"s2\">'
				+ elbowNum
				+ '</span></li>'
				+ '<li> <span class=\"s1\">上游环焊缝焊接编号:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">下游环焊缝焊接编号:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">绝对距离(m):</span> <span class=\"s2\">'
				+ mileage
				+ '</span></li>'
				+ '<li> <span class=\"s1\">最近参考点:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">相对距离参考点距离(m):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">材质:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">防腐材料:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">压力等级(MPa):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">弯头角度(°):</span> <span class=\"s2\">'
				+ elbowAngle
				+ '</span></li>'
				+ '<li> <span class=\"s1\">弯头类型:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">曲率半径(D):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">出口直径(mm):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">出口壁厚(mm):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">出口连接类型:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">生产厂家:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">防腐层制造厂商:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">生产日期:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">记录人:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">记录时间:</span> <span class=\"s2\">-</span></li>'
				+ '<li class=\"last-li\"><span class=\"s1\">备注:</span><span class=\"s2\"><textarea readonly="readonly" placeholder=\"备注描述\">-</textarea></span></li>'
				+ '</ul></div></div>';
			
		//热煨弯头
		tableName = "elbow";

	} else if (source == 1) {
		hhtml = '<div class=\"show-ul none\">' + ' <ul class=\"show-list\">'
		+'<li> <span class=\"s1\">统一编号:</span><span class=\"s2\">'+code+'</span></li>'
				+ '<li> <span class=\"s1\">管道名称:</span><span class=\"s2\">'
				+ lineName
				+ '</span></li>'
				+ '<li> <span class=\"s1\">管段名称:</span> <span class=\"s2\">'
				+ segmentName
				+ '</span></li>'
				+ '<li> <span class=\"s1\">弯头编号:</span> <span class=\"s2\">'
				+ elbowNum
				+ '</span></li>'
				+ '<li> <span class=\"s1\">钢管编号:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">绝对距离(m):</span> <span class=\"s2\">'
				+ mileage
				+ '</span></li>'
				+ '<li> <span class=\"s1\">弯头角度(°):</span> <span class=\"s2\">'
				+ elbowAngle
				+ '</span></li>'
				+ '<li> <span class=\"s1\">曲率半径(D):</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">方向:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">曲线长:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">切线长:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">弧长:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">防腐材料:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">上游环焊缝焊接编号:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">下游环焊缝焊接编号:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">记录人:</span> <span class=\"s2\">-</span></li>'
				+ '<li> <span class=\"s1\">记录时间:</span> <span class=\"s2\">-</span></li>'
				+ '<li class=\"last-li\"><span class=\"s1\">备注:</span><span class=\"s2\"><textarea readonly="readonly" placeholder=\"备注描述\">-</textarea></span></li>'
				+ '</ul></div></div>';
		
		//冷弯
		tableName = "celbow"
	} else {
		hhtml = "";
	}

	var map = '<input type="hidden" name="gisHiddenName" value=' + gisId + ','
			+ tableName + '>';

	html += '<div class=\"info-tr\"><ul class=\"ul-header ' + hangClass
			+ '\"><li class=\"w20\">' + lineName + '</li><li class=\"w20\">'
			+ segmentName + '</li><li class=\"w20\">' + elbowNum
			+ '</li><li class=\"w20\">' +mileage+ '</li><li class="w10">'
			+ elbowAngle
			+ '</li><li class=\"w10 no-right\"><em class=\"xq-icon\" id="'
			+ p.ELBOWID + ',' + p.SOURCE + '"></em></li></ul>' + hhtml + ''
			+ map + '';

	return html;

}

// 查询开始
function getElbowClick() {

    var pagePath = $("#pagePath").val();

    var lineId = $("#lineDiv").children().attr("id");
    var segmentId = $("#segmentDiv").children().attr("id");
    var startMileage = $("#startMileage").val();
    var endMileage = $("#endMileage").val();
    if(lineId == "lineAll" || lineId == "" || lineId == undefined){
        lineId = "";
    }
    if(segmentId == "segmentAll" || segmentId == "" || segmentId == undefined){
        segmentId = "";
    }
    if (startMileage == null || startMileage == "") {
        startMileage = 0;
    }
    if (endMileage == null || endMileage == "") {
        endMileage = 0;
    }

    //给隐藏表单域赋值
    $("#lineHiddenId").val(lineId);
    $("#segmentHiddenId").val(segmentId);
    $("#startMileHiddenId").val(startMileage);
    $("#endMileHiddenId").val(endMileage);

	var data = {"pipeLineId" : lineId, "pipeSegmentId" : segmentId, "startMileage" : startMileage, "endMileage" : endMileage};

	var b = window.sessionStorage;
	b.removeItem("mapData");
	b.setItem("mapData", JSON.stringify(data));
	var map = {"fillDiv" : "#searchBody", "url" : ""+pagePath+"/basedata/pipeElbowController/getBase.json"};

	searchPage(map, data);
}
// 查询结束

function elbowDonload() {

    var pagePath = $("#pagePath").val();

    var lineId = $("#lineDiv").children().attr("id");
    var segmentId = $("#segmentDiv").children().attr("id");
    var startMileage = $("#startMileage").val();
    var endMileage = $("#endMileage").val();
    if(lineId == "lineAll" || lineId == "" || lineId == undefined){
        lineId = "";
    }
    if(segmentId == "segmentAll" || segmentId == "" || segmentId == undefined){
        segmentId = "";
    }
    if (startMileage == null || startMileage == "") {
        startMileage = 0;
    }
    if (endMileage == null || endMileage == "") {
        endMileage = 0;
    }

    $("input[name='pipeLineId']").val(lineId);
    $("input[name='pipeSegmentId']").val(segmentId);
    $("input[name='startMileage']").val(startMileage);
    $("input[name='endMileage']").val(endMileage);

    $("#elbowForm").attr("action", pagePath + "/basedata/pipeElbowController/getExcel.html");
    $("#elbowForm").submit();
}

/**
 * 日期格式化
 * @param format
 * @returns
 */
Date.prototype.Format = function(format){ 
	var o = { 
	"M+" : this.getMonth()+1, //month 
	"d+" : this.getDate(), //day 
	"h+" : this.getHours(), //hour 
	"m+" : this.getMinutes(), //minute 
	"s+" : this.getSeconds(), //second 
	"q+" : Math.floor((this.getMonth()+3)/3), //quarter 
	"S" : this.getMilliseconds() //millisecond 
	} 

	if(/(y+)/.test(format)) { 
	format = format.replace(RegExp.$1, (this.getFullYear()+"").substr(4 - RegExp.$1.length)); 
	} 

	for(var k in o) { 
	if(new RegExp("("+ k +")").test(format)) { 
	format = format.replace(RegExp.$1, RegExp.$1.length==1 ? o[k] : ("00"+ o[k]).substr((""+ o[k]).length)); 
	} 
	} 
	return format; 
	} 
/**
 * 查看弯头详情
 * 
 * @param t:传入$(this)
 * @param elbowIdSource:弯头主键ID+查询类型(0或1)
 */
function getElbowDetails(t, elbowIdSource) {

    var pagePath = $("#pagePath").val();

	var strs = new Array();
	strs = elbowIdSource.split(",");

	var elbowId = strs[0];
	var type = strs[1];

	var url = pagePath + "/basedata/pipeElbowController/getDetails.json";

	$
			.ajax({
				type : "post",
				url : url,
				data : {
					elbowId : elbowId,
					source : type
				},
				dataType : "json",
				success : function(data) {
					if (null != data && "" != data) {
						var code = data.result.code;
						if (code = '0000000000') {

							var obj = data.result.obj;

							if (null != obj && "" != obj) {

								// 如果状态为0，则说明查询的是热煨弯头
								if (type == '0') {

									var code =obj.CODE;
							         if(code==""||code ==null){
							         	code="-";
							         }
							         t.parents('.ul-header').next().find('.show-list li').eq(0).find('span').eq(1).html(code);
									
									// 管线名称
									var LINENAME = obj.LINENAME;
									if (null == LINENAME || "" == LINENAME) {
										LINENAME = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(1).find('span')
											.eq(1).html(LINENAME);

									// 管段名称
									var SEGMENTNAME = obj.SEGMENTNAME;
									if (null == SEGMENTNAME
											|| "" == SEGMENTNAME) {
										SEGMENTNAME = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(2).find('span')
											.eq(1).html(SEGMENTNAME);

									// 弯头编号
									var ELBOW_NUMBER = obj.ELBOW_NUMBER;
									if (null == ELBOW_NUMBER
											|| "" == ELBOW_NUMBER) {
										ELBOW_NUMBER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(3).find('span')
											.eq(1).html(ELBOW_NUMBER);

									// 上游环焊缝焊接编号
									var UGWW_NUMBER = obj.UGWW_NUMBER;
									if (null == UGWW_NUMBER
											|| "" == UGWW_NUMBER) {
										UGWW_NUMBER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(4).find('span')
											.eq(1).html(UGWW_NUMBER);

									// 下游环焊缝焊接编号
									var DGWW_NUMBER = obj.DGWW_NUMBER;
									if (null == DGWW_NUMBER
											|| "" == DGWW_NUMBER) {
										DGWW_NUMBER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(5).find('span')
											.eq(1).html(DGWW_NUMBER);

									// 绝对距离
									var MILEAGE =""+ obj.MILEAGE;
									if (null == MILEAGE || "" == MILEAGE||"undefined"==MILEAGE) {
										MILEAGE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(6).find('span')
											.eq(1).html(MILEAGE);

									// 最近参考点
									var REFERENCE = obj.REFERENCE;
									if (null == REFERENCE || "" == REFERENCE) {
										REFERENCE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(7).find('span')
											.eq(1).html(REFERENCE);

									// 相对最近距离参考点
									var REFERENCE_DISTANCE = obj.REFERENCE_DISTANCE;
									if (null == REFERENCE_DISTANCE
											|| "" == REFERENCE_DISTANCE) {
										REFERENCE_DISTANCE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(8).find('span')
											.eq(1).html(REFERENCE_DISTANCE);

									// 材质
									var MATERIAL = obj.MATERIAL;
									if (null == MATERIAL || "" == MATERIAL) {
										MATERIAL = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(9).find('span')
											.eq(1).html(MATERIAL);

									// 防腐材料
									var ANTISEPTIC_MATERIAL = obj.ANTISEPTIC_MATERIAL;
									if (null == ANTISEPTIC_MATERIAL
											|| "" == ANTISEPTIC_MATERIAL) {
										ANTISEPTIC_MATERIAL = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(10).find('span')
											.eq(1).html(ANTISEPTIC_MATERIAL);

									// 压力等级
									var PRESSURE_RATING = obj.PRESSURE_RATING;
									if (null == PRESSURE_RATING
											|| "" == PRESSURE_RATING) {
										PRESSURE_RATING = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(11)
											.find('span').eq(1).html(
													PRESSURE_RATING);

									// 弯头角度
									var ELBOW_ANGLE = obj.ELBOW_ANGLE;
									if (null == ELBOW_ANGLE
											|| "" == ELBOW_ANGLE) {
										ELBOW_ANGLE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(12)
											.find('span').eq(1).html(
													ELBOW_ANGLE);

									// 弯头类型
									var ELBOW_TYPE = obj.ELBOW_TYPE;
									if (null == ELBOW_TYPE || "" == ELBOW_TYPE) {
										ELBOW_TYPE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(13)
											.find('span').eq(1)
											.html(ELBOW_TYPE);

									// 曲率半径
									var ELBOW_CURVRAD = obj.ELBOW_CURVRAD;
									if (null == ELBOW_CURVRAD
											|| "" == ELBOW_CURVRAD) {
										ELBOW_CURVRAD = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(14)
											.find('span').eq(1).html(
													ELBOW_CURVRAD);

									// 出口直径
									var OUTLET_DIAMETER =""+ obj.OUTLET_DIAMETER;
									if (null == OUTLET_DIAMETER
											|| "" == OUTLET_DIAMETER||"undefined"==OUTLET_DIAMETER) {
										OUTLET_DIAMETER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(15)
											.find('span').eq(1).html(
													OUTLET_DIAMETER);

									// 出口壁厚
									var OUTLET_WALL_THICKNESS =""+ obj.OUTLET_WALL_THICKNESS;
									if (null == OUTLET_WALL_THICKNESS
											|| "" == OUTLET_WALL_THICKNESS||"undefined"==OUTLET_WALL_THICKNESS) {
										OUTLET_WALL_THICKNESS = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(16)
											.find('span').eq(1).html(
													OUTLET_WALL_THICKNESS);

									// 出口连接类型
									var OUTLET_CONNECTION_TYPE = obj.OUTLET_CONNECTION_TYPE;
									if (null == OUTLET_CONNECTION_TYPE
											|| "" == OUTLET_CONNECTION_TYPE) {
										OUTLET_CONNECTION_TYPE = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(17)
											.find('span').eq(1).html(
													OUTLET_CONNECTION_TYPE);

									// 出口厂家
									var MANUFACTURER = obj.MANUFACTURER;
									if (null == MANUFACTURER
											|| "" == MANUFACTURER) {
										MANUFACTURER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(18)
											.find('span').eq(1).html(
													MANUFACTURER);

									// 防腐层制造厂商
									var COATING_MANUFACTURER = obj.COATING_MANUFACTURER;
									if (null == COATING_MANUFACTURER
											|| "" == COATING_MANUFACTURER) {
										COATING_MANUFACTURER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(19)
											.find('span').eq(1).html(
													COATING_MANUFACTURER);

									// 生产日期
									var MANUFACTURED_DATE = obj.MANUFACTURED_DATE;

									if (null == MANUFACTURED_DATE
											|| "" == MANUFACTURED_DATE) {
										MANUFACTURED_DATE = "-";
									}else{
										MANUFACTURED_DATE=new Date(obj.MANUFACTURED_DATE).Format("yyyy-MM-dd");
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(20)
											.find('span').eq(1).html(
													MANUFACTURED_DATE);

									// 记录人
									var RECORDER = obj.RECORDER;
									if (null == RECORDER || "" == RECORDER) {
										RECORDER = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(21)
											.find('span').eq(1).html(RECORDER);

									// 记录时间
									var RECORDTIME = obj.RECORDTIME
									if (null == RECORDTIME || "" == RECORDTIME) {
										RECORDTIME = "-";
									}else{
										RECORDTIME=new Date(obj.RECORDTIME).Format("yyyy-MM-dd");
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(22)
											.find('span').eq(1)
											.html(RECORDTIME);

									// 备注
									var CREATE_REMARK = obj.CREATE_REMARK;
									if (null == CREATE_REMARK
											|| "" == CREATE_REMARK) {
										CREATE_REMARK = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(23)
											.find('span').eq(1)
											.find("textarea").html(
													CREATE_REMARK);
									initTitle();
								} else if (type == '1') {
									// 如果查询状态为1，则说明查询的是冷弯头详情
									var code =obj.CODE;
							         if(code==""||code ==null){
							         	code="-";
							         }
							         t.parents('.ul-header').next().find('.show-list li').eq(0).find('span').eq(1).html(code);
									
									// 管线名称
									var LINENAME = obj.LINENAME;
									if (null == LINENAME || "" == LINENAME) {
										LINENAME = "-";
									}

									t.parents('.ul-header').next().find(
											'.show-list li').eq(1).find('span')
											.eq(1).html(LINENAME);

									// 管段名称
									var SEGMENTNAME = obj.SEGMENTNAME;
									if (null == SEGMENTNAME
											|| "" == SEGMENTNAME) {
										SEGMENTNAME = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(2).find('span')
											.eq(1).html(SEGMENTNAME);

									// 弯头编号
									var ELBOW_NUMBER = obj.ELBOW_NUMBER;
									if (null == ELBOW_NUMBER
											|| "" == ELBOW_NUMBER) {
										ELBOW_NUMBER = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(3).find('span')
											.eq(1).html(ELBOW_NUMBER);

									// 钢管编号
									var PIPE_NUMBER = obj.PIPE_NUMBER;
									if (null == PIPE_NUMBER
											|| "" == PIPE_NUMBER) {
										PIPE_NUMBER = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(4).find('span')
											.eq(1).html(PIPE_NUMBER);

									// 绝对距离
									var MILEAGE =""+ obj.MILEAGE;
									if (null == MILEAGE || "" == MILEAGE||"undefined"==MILEAGE) {
										MILEAGE = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(5).find('span')
											.eq(1).html(MILEAGE);

									// 弯头角度
									var ELBOW_ANGLE = obj.ELBOW_ANGLE;
									if (null == ELBOW_ANGLE
											|| "" == ELBOW_ANGLE) {
										ELBOW_ANGLE = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(6).find('span')
											.eq(1).html(ELBOW_ANGLE);

									// 曲率半径
									var ELBOW_CURVRAD =""+ obj.ELBOW_CURVRAD;
									if (null == ELBOW_CURVRAD
											|| "" == ELBOW_CURVRAD||"undefined"==ELBOW_CURVRAD) {
										ELBOW_CURVRAD = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(7).find('span')
											.eq(1).html(ELBOW_CURVRAD);

									// 方向
									var DIRECTION = obj.DIRECTION;
									if (null == DIRECTION || "" == DIRECTION) {
										DIRECTION = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(8).find('span')
											.eq(1).html(DIRECTION);

									// 曲线长
									var CURVE_LENGTH = ""+obj.CURVE_LENGTH;
									if (null == CURVE_LENGTH
											|| "" == CURVE_LENGTH||"undefined"==CURVE_LENGTH) {
										CURVE_LENGTH = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(9).find('span')
											.eq(1).html(CURVE_LENGTH);

									// 切线长
									var TANGENT_LENGTH =""+ obj.TANGENT_LENGTH;
									if (null == TANGENT_LENGTH
											|| "" == TANGENT_LENGTH||"undefined"==TANGENT_LENGTH) {
										TANGENT_LENGTH = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(10).find('span')
											.eq(1).html(TANGENT_LENGTH);

									// 弧长
									var ARC_LENGTH =""+ obj.ARC_LENGTH;
									if (null == ARC_LENGTH || "" == ARC_LENGTH||"undefined"==ARC_LENGTH) {
										ARC_LENGTH = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(11)
											.find('span').eq(1)
											.html(ARC_LENGTH);

									// 防腐材料
									var COATINGM_ATERIAL = obj.COATINGM_ATERIAL;
									if (null == COATINGM_ATERIAL
											|| "" == COATINGM_ATERIAL) {
										COATINGM_ATERIAL = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(12)
											.find('span').eq(1).html(
													COATINGM_ATERIAL);

									// 上游环焊缝焊接编号
									var gwwNum = obj.GWWNUM;
									if (null == gwwNum || "" == gwwNum) {
										gwwNum = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(13)
											.find('span').eq(1).html(gwwNum);

									// 下游环焊缝焊接编号
									var dgwwNum = obj.DGWWNUM;
									if (null == gwwNum || "" == gwwNum) {
										dgwwNum = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(14)
											.find('span').eq(1).html(dgwwNum);

									// 记录人
									var RECORDER = obj.RECORDER;
									if (null == RECORDER || "" == RECORDER) {
										RECORDER = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(15)
											.find('span').eq(1).html(RECORDER);

									// 记录时间
									var RECORDTIME = obj.RECORDTIME;
									if (null == RECORDTIME || "" == RECORDTIME) {
										RECORDTIME = "-";
									}else{
										RECORDTIME = new Date(obj.RECORDTIME)
										.Format("yyyy-MM-dd");
									}
									
									t.parents('.ul-header').next().find(
											'.show-list li').eq(16)
											.find('span').eq(1)
											.html(RECORDTIME);

									// 备注
									var CREATE_REMARK = obj.CREATE_REMARK;
									if (null == CREATE_REMARK
											|| "" == CREATE_REMARK) {
										CREATE_REMARK = "-";
									}
									t.parents('.ul-header').next().find(
											'.show-list li').eq(17)
											.find('span').eq(1)
											.find("textarea").html(
													CREATE_REMARK);
									initTitle();
								}

							}
						}

					}

				}

			});

};





